<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>HIS</title>

<script type="text/javascript" src="<c:url value='js/jquery.min.js'/>"></script>
 <script type="text/javascript" src="<c:url value='js/jquery-3.2.1.js'/>"></script> 
<script type="text/javascript"
	src="<c:url value='js/jquery.easyui.min.js'/>"></script>
<script type="text/javascript"
	src="<c:url value='js/easyui-lang-zh_CN.js'/>"></script>
<script type="text/javascript"
	src="<c:url value='js/datagrid-detailview.js'/>"></script>
<script type="text/javascript"
	src="<c:url value='js/hsptLiveInFunction.js'/>"></script>
<script type="text/javascript" src="<c:url value='js/hsptLiveInFees.js'/>"></script>
<script type="text/javascript" src="<c:url value='js/hsptLiveSickRoomFunction.js'/>"></script>
<script type="text/javascript" src="<c:url value='js/iplookup.js'/>"></script>
<script type="text/javascript" src="<c:url value='js/registration_manage.js'/>"></script>
<script type="text/javascript" src="<c:url value='js/Card.js'/>"></script>


<script type="text/javascript" src="<c:url value='js/zx.js'/>"></script>
<!-- 导入锁屏js -->
<script type="text/javascript" src="<c:url value='js/screenLock.js'/>"></script>

<link rel="stylesheet" type="text/css" href="<c:url value='css/themes/default/easyui.css'/>">
<link rel="stylesheet" type="text/css" href="<c:url value='css/themes/icon.css'/>">
<link rel="stylesheet" type="text/css" href="<c:url value='css/themes/IconExtension.css'/>">
<link rel="stylesheet" type="text/css" href="<c:url value='css/guahao.css'/>">
<link rel="stylesheet" type="text/css" href="<c:url value='css/card.css'/>">
<link rel="stylesheet" type="text/css" href="<c:url value='css/zjs_outpatient_Pharmacy.css'/>">


<script type="text/javascript">
	//选项卡
	$(function() {
		$(".link").click(function() {
			var url = $(this).attr("url");
			var title = $(this).text();
			//先判断选项卡是否存在，存在，激活就行了
			if ($("#tabs").tabs("exists", title)) {
				$("#tabs").tabs("select", title);
				return;
			}
			//不存在，则打开
			//添加新选项卡
			var config = {
				title : title,
				href : url,
				closable : true
			};
			$("#tabs").tabs("add", config);
		});

		//关闭当前的
		$("#close_a").click(function() {
			var tab = $('#tabs').tabs('getSelected');
			var index = $('#tabs').tabs('getTabIndex', tab);
			if (index != 0) {
				$('#tabs').tabs('close', index);
			}
		});

		//关闭所有的
		$("#close_all").click(function() {
			var tabs = $('#tabs').tabs('tabs');
			for (var i = tabs.length - 1; i >= 1; i--) {
				$('#tabs').tabs('close', i);
			}
		});
	});
</script>

<style type="text/css">
.m, .m li {
	list-style: none;
	margin: 0px;
	padding-left: 2px;
}

.m li {
	
}
</style>
</head>
<body class="easyui-layout"
	style="BACKGROUND-IMAGE: url(<c:url value="images/header/bg.gif"/>);">
	<div data-options="region:'north'" border="false"
		style="height: 67px; padding: 0px; overflow: hidden;">
		<%@include file="../jsp/header.jsp"%>
	</div>
	<div data-options="region:'south'"
		style="height: 20px; color: #6082af;">
		<div style="text-align: center;">
			©2017-2018 中心医院版权所有 <span style="float: right; margin: 0px 6px;">版本：1.0.0</span>
			  <span id="dam-his-header-ip" style="float: left; margin: 0px 6px;">
			</span>
			<script type="text/javascript">
				document.getElementById("dam-his-header-ip").innerText = "IP地址："
						+ remote_ip_info["province"] + remote_ip_info["city"];
			</script>
		</div>
		<div style="clear: both;"></div>
	</div>
	<!-- 布局左边 -->
	<div data-options="region:'west',title:'主菜单',split:true"
		style="width: 150px;">
		<div class="easyui-accordion" data-options="fit:true, border:false">

			<!-- 张劲松 -->
			<div data-options="title:'药库管理'">
				<ul class="m">
					<li><a url="medcineDetailManage" text="药品信息"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-add'"></a></li>
					<li><a url="to_StorageSendDrugs" text="药库发药" class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-add'"></a></li>
					<li><a url="to_SSQueYao" text="药库缺药" class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-add'"></a></li>
					<li><a url="to_expiryDrug" class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-add'">到期药品</a></li>
					<li><a url="" class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-add'">药品盘点</a></li>
					<li><a url="" class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-add'">药品入库</a></li>
				</ul>

			</div>
			<div data-options="title:'药房管理'">
				<ul class="m">
					<li><a url="" text="药品盘点" class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-add'"></a></li>
					<li><a url="" text="药品入库" class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-add'"></a></li>
					<li><a url="" text="药房缺药" class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-add'"></a></li>
					<li><a url="" class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-add'">到期药品</a></li>
					<li><a url="" class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-add'">药品盘点</a></li>
					<li><a url="" class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-add'">药房发药</a></li>
				</ul>

			</div>
			<div title="住院管理">
				<ul class="m">
					<li><a url="to_hspt_live_In_manage" text="入院管理"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-edit'"></a></li>
						
					<li><a url="to_bed_manage" text="病房管理"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-reload'"></a></li>
			
					<li><a url="to_hspt_live_deposit" text="住院押金管理"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-reload'"></a></li>
						
					<li><a url="to_hspt_live_fees_account" text="住院费用核算" class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-save'"></a></li>
					
					<li><a url="to_LivePayTally" text="住院收费" class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-save'"></a></li>			
 
					<li><a url="to_hspt_live_feesQuery" text="住院费用查询" class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-save'"></a></li>

					<li><a url="to_hspt_live_tally" text="住院医疗记账" class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-reload'"></a></li>

					<li><a url="to_new_hspt_live_out" text="出院管理"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-edit'"></a></li>
					</ul>
			</div>
			<div data-options="title:'办卡、挂号'">
				<ul class="m">
					<li><a url="to_hosp_patient_registration" text="门诊挂号" class="link easyui-linkbutton" data-options="plain:true,iconCls:'icon-add'"></a></li>
					<li><a url="to_hosp_apply_card" text="办诊疗卡" class="link easyui-linkbutton" data-options="plain:true,iconCls:'icon-add'"></a></li>
					<li><a url="to_hosp_card_manage" class="link easyui-linkbutton" data-options="plain:true,iconCls:'icon-add'">诊疗卡管理</a></li>
					<li><a url="to_hosp_registration_manage" class="link easyui-linkbutton" data-options="plain:true,iconCls:'icon-add'">挂号管理</a></li>
				</ul>
				
			</div>
			<div data-options="title:'门诊医生工作站'">
				<ul class="m">
					<li><a url="to_hosp_work_patient_erx" text="门诊电子处方" class="link easyui-linkbutton" data-options="plain:true,iconCls:'icon-add'">门诊电子处方</a></li>
				</ul>
				<ul class="m">
					<li><a url="to_hosp_in_notice" text="住院通知" class="link easyui-linkbutton" data-options="plain:true,iconCls:'icon-edit'">住院通知</a></li>
				</ul>
				
			</div>
			
			<div data-options="title: '设备管理'">
				<ul class="m">

					<li><a url="to_plan_add" text="采购计划"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-add'"></a></li>
					<li><a url="to_plan_list" text="计划列表"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-edit'"></a></li>
					<li><a url="to_supplier_add" text="添加外包商"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-add'"></a></li>
					<li><a url="to_supplier_list" text="外包商列表"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-sum'"></a></li>
					<li><a url="to_order_add" text="订单生成"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-tip'"></a></li>
					<li><a url="to_order_list" text="订单列表"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-sum'"></a></li>
					<li><a url="to_order_save" text="入库"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-redo'"></a></li>
					<li><a url="to_return_list" text="退货"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-undo'"></a></li>
					<li><a url="to_delivery_list" text="科室领用"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-undo'"></a></li>
					<li><a url="to_room_select" text="库存查询"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-search'"></a></li>
					<!-- <li><a url="to_room_checked" text="库存盘点"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-sum'"></a></li>
					<li><a url="to_equip_use" text="设备使用"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-edit'"></a></li> 
					<li><a url="to_repair_add" text="维修申请"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-add'"></a></li>
					<li><a url="to_repair_list" text="维修申请列表"
						class="link easyui-linkbutton"
						data-options="plain:true,iconCls:'icon-sum'"></a></li> -->
				</ul>
			</div>
		</div>   	
    </div> 
    
    <!-- 布局右边 -->  
	<div data-options="region:'center'">

		<div id="tabs" class="easyui-tabs"
			data-options="
    		fit:true, border:false,
    		tools: '#tools'
    		">
			<div data-options="title: '工作台'">这里是工作台</div>
		</div>

		<div id="tools"
			style="border: none; border-bottom: 1px solid rgb(149, 184, 231);">
			<a id="close_a" title="关闭当前" class="easyui-linkbutton"
				data-options="iconCls:'icon-clear',plain:true"></a> <a
				id="close_all" title="关闭所有" class="easyui-linkbutton"
				data-options="iconCls:'icon-remove',plain:true"></a>
		</div>
	</div>
	<!-- 遮罩层 -->
	<div id="dam_zhezhaocheng"
		style="display: none; text-align: center; z-index: 100; background: #0e0d0d; -moz-opacity: 0.6; opacity: 0.6; position: fixed; top: 0; left: 0; width: 100%; height: 100%;">
		<div
			style="margin: auto auto; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);">
			<div style="margin: 10px">
				<img alt="锁屏" src="<c:url value="images/header/Screenlock.png"/>">
			</div>
			<div style="margin: 10px">
				<input id="screenLock-password" type="password"
					placeholder="请输入锁屏密码..."
					style="background: transparent; color: white; border: 1px solid white; outline: none; padding: 10px; border-radius: 20px;" />
				<input onclick="upScreenLock()"
					onmouseover="javascript:this.style.background='#5638c7';"
					onmouseout="javascript:this.style.background='blue';"
					style="background: blue; cursor: pointer; color: white; border: 1px solid white; outline: none; padding: 9px; border-radius: 20px;"
					type="button" value="解锁">
			</div>
			<div id="screenLock-message"
				style="font-size: 10px; color: red; text-align: center; font-weight: bold;">

			</div>
			<div
				style="color: white; font-size: 10px; margin-top: 50px; margin-right: 30px">
				(初始密码:123)</div>
		</div>
		<!-- 导入锁屏js -->
		<script type="text/javascript" src="<c:url value='js/screenLock.js'/>"></script>
	</div>
	<div class="easyui-window" id="DoctorSelect" data-options="closed:true"></div>
	<div class="easyui-window" id="LiveInSelect" data-options="closed:true"></div>
	<div class="easyui-window" id="SickRoomSelect" data-options="closed:true"></div>
	<div class="easyui-window" id="ChargeProjectSelect" data-options="closed:true"></div>
	<div class="easyui-window" id="outSelect" data-options="closed:true"></div>

</body>
</html>